OD=DISABLE_, SLEW=SLOW, INV=INPUT_NOT_INVERTED_, HYS=DISABLE_, MODE=INACTIVE_NO_PULL_DO, FUNC=PIO0_21
I/O configuration register for pin PIO0_21/CTS/ ACMP_O/ CT32B1_CAP1/SCLK
FUNC | Selects pin function for pin PIO0_21/CTS/ ACMP_O/ CT32B1_CAP1/SCLK 0 (PIO0_21): General purpose digital input/output pin. If configured as output, this pin is a high-current source output driver (20 mA). 1 (CTS): Clear To Send input for USART. 2 (ACMP_O): Analog comparator output. 3 (CT32B1_CAP1): Capture input 1 for 32-bit timer 1. 4 (SCLK): Serial clock for USART. |
MODE | Selects function mode (on-chip pull-up/pull-down resistor control). 0 (INACTIVE_NO_PULL_DO): Inactive (no pull-down/pull-up resistor enabled). 1 (PULL_DOWN_RESISTOR_E): Pull-down resistor enabled. 2 (PULL_UP_RESISTOR_ENA): Pull-up resistor enabled. 3 (REPEATER_MODE_): Repeater mode. |
HYS | Hysteresis. 0 (DISABLE_): Disable. 1 (ENABLE_): Enable. |
INV | Invert input 0 (INPUT_NOT_INVERTED_): Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 1 (INPUT_INVERTED_HIGH): Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). |
RESERVED | Reserved. |
SLEW | Driver slew rate 0 (SLOW): Slow. More outputs can be switched simultaneously. 1 (FAST): Fast. |
OD | Open-drain mode. 0 (DISABLE_): Disable. 1 (OPEN_DRAIN_MODE_ENAB): Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. |
RESERVED | Reserved. |